package com.yonyougov.devops.cruxcisupport.user.dto.controller;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigInteger;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "用户更新")
public class UserUpdateRequestDto extends BaseRequestDto {
    @ApiModelProperty(value = "用户主键", required = true)
    private BigInteger id;

    @ApiModelProperty(value = "用户名称", required = true)
    private String userName;

    @ApiModelProperty(value = "用户密码", required = true)
    private String password;

    @ApiModelProperty(value = "用户是否锁定", required = true)
    private Boolean locked;

    @ApiModelProperty(value = "用户邮箱")
    private String email;

    @ApiModelProperty(value = "用户备注描述")
    private String remark;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户身份")
    private Integer officeType;

    @ApiModelProperty(value = "用户状态")
    private Integer status;
}
